package com.ansuenjob.jsonBuilder;

import java.util.ArrayList;
import java.util.List;

import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

import com.ansuenjob.model.Letter;
import com.ansuenjob.model.PPTAWhithOutContent;
import com.ansuenjob.vo.JobVO;


public class PPTAWithOutContentFunction {
	public static List<PPTAWhithOutContent> getSimplePPTAs(JSONArray jsonArray) throws JSONException {
		PPTAWithOutContentBuilder builder = new PPTAWithOutContentBuilder();
		List<PPTAWhithOutContent> st = new ArrayList<PPTAWhithOutContent>();
		for (int i = 0; i < jsonArray.length(); i++) {
			st.add(builder.buildJson(jsonArray.getJSONObject(i)));
		}
		return st;
	}
}
